<!DOCTYPE html>
<html>
<head>	
	<title>{:C('SERVER_HOME_NAME')}</title>

	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css" />

</head>
<body>
	<div class="box">
		  <include file="Public/top" />

		<div class="content">
			  <include file="leftNav" />
			<div class="main p30">
				<h3 class="mh">营业执照上传</h3>
				<form id="myform" action="{:U('CompanyCertificat/certificatesInfo')}" method='post' enctype="multipart/form-data" >
					<div class="company"> 
						<div class="form-group">
							<p class="mp">请认真填写资料，避免影响正常使用</p>
							<span class="form-title fl">营业执照：</span>
							<div class="upload-img img-size fl">
						            <input type="file" name="business_img" id="imgOne" onchange="preImg(this.id,'photo');" />         
						            <img class="img-setting" onerror="javascript:this.src='__PUBLIC__/images/a11.png'" src="__UPLOADS__{$companyInfo.business_img}" id="photo" src="__PUBLIC__/images/a11.png"/>
						        </div> 
							<div class="cue fl">
								<ul>
									<li class="text-orange">提示：</li>
									<li>1.请使用清晰完整的正本彩色图片，不要使用副本图片。</li>
									<li>2.图片大小不低于50k，不超过300k，建议130k左右。</li>
									<li>3.照片宽度不低于500像素，不超过1500像素，建议600-800像素。</li>
									<li>4.格式为jpg。</li>
								</ul>
							</div>
							
						</div>
                                            	<h3>身份证上传</h3>
						<div class="form-group">
							<div class="group-bg">
								<div class="upload-img fl">
							        <input type="file" name="id_is_img" id="imgOne1" onchange="preImg(this.id,'photo1');" />         
							        <img class="img-setting"  onerror="javascript:this.src='__PUBLIC__/images/a11.png'" src="__UPLOADS__{$companyInfo.id_is_img}" id="photo1" src="__PUBLIC__/images/a11.png"/> 
							    </div>
							    <div class="fl">
									<span>案例：<img src="__PUBLIC__/images/sz.png"></span>
							    </div>
						    </div>
						</div> 
						<div class="form-group">
							<div class="group-bg">
							    <div class="upload-img fl">
							        <input type="file" name="id_the_img" id="imgOne2" onchange="preImg(this.id,'photo2');" />  
							        <img class="img-setting"  onerror="javascript:this.src='__PUBLIC__/images/a11.png'" src="__UPLOADS__{$companyInfo.id_the_img}" id="photo2" src="__PUBLIC__/images/a11.png"/>
							    </div>
							    <div class="fl">
									<span>案例：<img src="__PUBLIC__/images/sb.png"></span>
							    </div>
						    </div>
						 </div>
						 <div class="form-group">
						 	<div class="group-bg">
							    <div class="upload-img fl">
							     	<input type="file" name="id_hold" id="imgOne3" onchange="preImg(this.id,'photo3');" />  
							        <img class="img-setting" onerror="javascript:this.src='__PUBLIC__/images/a11.png'" src="__UPLOADS__{$companyInfo.id_hold}" id="photo3" src="__PUBLIC__/images/a11.png"/>
							    </div>
							    <div class="fl">
									<span>案例：<img src="__PUBLIC__/images/sc.png"></span>
							    </div>
						    </div>
						</div>
						
						<div class="form-group"><span class="form-title">审核状态：</span>
                                                    <if condition="$companyInfo.status eq 1">
                                                       <span>审核通过</span>
                                                    <elseif condition="$companyInfo.status eq 0" />
                                                       <span>未审核</span>
                                                       <else/>
                                                        <span>审核失败</span>
                                                    </if>
                                                </div>	  
                                                <div class="form-group"><span class="form-title">审核结果：</span>
                                                    <span>{$companyInfo.feedback}</span>
                                                </div>
                                                <div class="btn-form"><a href="javascript:void(0);" onclick="$('#myform').submit();" class="btn">保存</a></div>
					</div>
				</form>	
		</div>
	</div>
	 
	<script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.min.js"></script>
	<script src="__PUBLIC__/js/page.js"></script>
</body>
</html>